# print(3&3)
def num():
    # 15155
    print('1515')
    for i in range(1, 11):
        print(i)
        # print(int(i % 3) + 1)
    return 'ok'
#
# print(1&10)
# print(2&10)
# print(3&10)

from apscheduler.schedulers.background import BackgroundScheduler


def  testaps():
    # 调度器
    scheduler = BackgroundScheduler()
    # 任务存储   seconds 每秒动用多少次  sends是调用的函数  args 传参进去
    print('1515')
    scheduler.add_job(num, 'interval', seconds=1)
    scheduler.start()
    return ("ok")

# testaps()
print(testaps())
